var vm = new Vue({
    el: '#app',
    data: {
        currentIndex0: 0,
        currentIndex1: 1,
        list: [
            '综合排序', '距离最近', '销量最高', '筛选'
        ],
        storeArr: [
            { img: "./img/2.jpg", title: '金百万烤鸭(苏家坨店)', score: '4.3', num: '1632', amount: '20', remote: '3', min: '47', km: '3.9', yzcf: '“扬州炒饭棒棒哒”', pm: '海淀区北京菜畅销第2名', mj: ['35减12', '70减35', '100减45', '150减80'] },
            { img: "./img/3.jpg", title: '稻香金源饺子馆', score: '4.4', num: '230', amount: '20', remote: '3.5', min: '44', km: '2.5', mj: ['40减5', '69减8', '100减10', '支持自取'] }
        ],
        bottomArr:[
            {name:'首页'},
            {name:'订单'},
            {name:'我的'}
        ]
    },
    methods: {
        handleClick(index) {
            this.currentIndex0 = index;
        },
        handleClickbottom(index) {
            this.currentIndex1 = index;
        }
    }
})